package com.richfit.cuba.web.config.util;

import java.util.Map;

import com.richfit.cuba.modular.IScanService;
import com.richfit.cuba.web.config.SpringContextHolder;

public class ScanTableUtils {


    private static Map<String, IScanService> map;
    /**
     * 
     * @Title: getMaps   
     * @Description: initialization get all service
     * @author: Alan
     * @date:   2018-11-13 22:06:05
     * @return      
     *     Map<String,IScanService>      
     * @throws null
     */
    public static Map<String, IScanService> getMaps(){
    	if(map == null) {
    		map = SpringContextHolder.getBeanOfType(IScanService.class);
    	}
    	return map;
    }
}
